﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IronCow.UnitTests.Mock
{
    class MockTimelineResponsePart : MockResponsePart
    {
        private int mTimeline;

        public MockTimelineResponsePart()
            : this(12741021)
        {
        }

        public MockTimelineResponsePart(int timeline)
        {
            mTimeline = timeline;
        }

        public override void GetResponseMarkup(System.Xml.XmlWriter markupWriter, Dictionary<string, string> parameters)
        {
            markupWriter.WriteElementString("timeline", mTimeline.ToString());
        }
    }
}
